// 第三方库
import { useEffect } from 'react';
import { useDispatch, useSelector } from 'react-redux';

// 导入action
import { getUserInfo } from '@/store/actions/user';

// 样式
import styles from './Test.module.scss';

export const Test = () => {
  const dispatch = useDispatch();
  useEffect(() => {
    dispatch(getUserInfo());
  }, [dispatch]);
  return <div className={'tj5-global'}>Test</div>;
};
